//
//  AppDelegate.m
//  MCNKuaiYI
//
//  Created by Mr.Cannon on 2017/1/7.
//  Copyright © 2017年 Mr.Cannon. All rights reserved.
//

#import "AppDelegate.h"
#import "DMTabBarViewController.h"
#import "ICSDrawerController.h"
#import "DMLeftViewController.h"
@interface AppDelegate ()
@property(nonatomic,strong)ICSDrawerController* drawerController;
@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    _window = [[UIWindow alloc]init];
    DMTabBarViewController* TabBarViewController = [[DMTabBarViewController alloc]init];
    DMLeftViewController* LeftViewController = [[DMLeftViewController alloc]init];
    _drawerController = [[ICSDrawerController alloc]initWithLeftViewController:LeftViewController centerViewController:TabBarViewController];
    _window.rootViewController = self.drawerController;
    [_window makeKeyAndVisible];
    return YES;
}



@end
